luci-base: Replace mode: Master with Access Point
authorEvan Benn <[email protected]>
Fri, 8 Dec 2023 02:14:29 +0000 (13:14 +1100)
committerEvan Benn <[email protected]>
Thu, 14 Dec 2023 22:11:13 +0000 (09:11 +1100)
Access Point is the string used on the network wireless setup dialogue.
Use Access Point to report the mode on the network wireless and status
screens.

Signed-off-by: Evan Benn <[email protected]>
modules/luci-base/htdocs/luci-static/resources/network.js

index 10695cf967e8d05cb20eb2d5e5497a41042dcf2b..887c3d57f0f2ef3774f9951a15c5254be1331533 100644 (file)
@@ -3861,7 +3861,7 @@ WifiNetwork = baseclass.extend(/** @lends LuCI.network.WifiNetwork.prototype */
                var mode = this.getActiveMode();
 
                switch (mode) {
-               case 'Master':       return _('Master');
+               case 'Master':       return _('Access Point');
                case 'Ad-Hoc':       return _('Ad-Hoc');
                case 'Client':       return _('Client');
                case 'Monitor':      return _('Monitor');